package p270jp.pxv.android.topLevel.presentation;

import android.os.Parcel;
import android.os.Parcelable;
import net.pixiv.charcoal.android.view.dialog.CharcoalDialogEvent;
import p047bg.C1124a;
import p064c6.Preconditions;
import p216hn.DefaultConstructorMarker;
import p325m0.MutabilityOwnership;
import p551ul.C6652c;
import p551ul.C6653d;
import p551ul.TopLevelActionCreator;

/* compiled from: TopLevelCharcoalDialogEvent.kt */
/* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent */
/* loaded from: classes2.dex */
public abstract class TopLevelCharcoalDialogEvent implements CharcoalDialogEvent {

    /* compiled from: TopLevelCharcoalDialogEvent.kt */
    /* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent$SelectRateLater */
    /* loaded from: classes2.dex */
    public static final class SelectRateLater extends TopLevelCharcoalDialogEvent {

        /* renamed from: a */
        public static final SelectRateLater f19338a = new SelectRateLater();
        public static final Parcelable.Creator<SelectRateLater> CREATOR = new C4326a();

        /* compiled from: TopLevelCharcoalDialogEvent.kt */
        /* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent$SelectRateLater$a */
        /* loaded from: classes2.dex */
        public static final class C4326a implements Parcelable.Creator<SelectRateLater> {
            @Override // android.os.Parcelable.Creator
            public SelectRateLater createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                parcel.readInt();
                return SelectRateLater.f19338a;
            }

            @Override // android.os.Parcelable.Creator
            public SelectRateLater[] newArray(int i) {
                return new SelectRateLater[i];
            }
        }

        public SelectRateLater() {
            super(null);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeInt(1);
        }
    }

    /* compiled from: TopLevelCharcoalDialogEvent.kt */
    /* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent$SelectRedirectFeedback */
    /* loaded from: classes2.dex */
    public static final class SelectRedirectFeedback extends TopLevelCharcoalDialogEvent {

        /* renamed from: a */
        public static final SelectRedirectFeedback f19339a = new SelectRedirectFeedback();
        public static final Parcelable.Creator<SelectRedirectFeedback> CREATOR = new C4327a();

        /* compiled from: TopLevelCharcoalDialogEvent.kt */
        /* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent$SelectRedirectFeedback$a */
        /* loaded from: classes2.dex */
        public static final class C4327a implements Parcelable.Creator<SelectRedirectFeedback> {
            @Override // android.os.Parcelable.Creator
            public SelectRedirectFeedback createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                parcel.readInt();
                return SelectRedirectFeedback.f19339a;
            }

            @Override // android.os.Parcelable.Creator
            public SelectRedirectFeedback[] newArray(int i) {
                return new SelectRedirectFeedback[i];
            }
        }

        public SelectRedirectFeedback() {
            super(null);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeInt(1);
        }
    }

    /* compiled from: TopLevelCharcoalDialogEvent.kt */
    /* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent$SelectRedirectPlayStore */
    /* loaded from: classes2.dex */
    public static final class SelectRedirectPlayStore extends TopLevelCharcoalDialogEvent {

        /* renamed from: a */
        public static final SelectRedirectPlayStore f19340a = new SelectRedirectPlayStore();
        public static final Parcelable.Creator<SelectRedirectPlayStore> CREATOR = new C4328a();

        /* compiled from: TopLevelCharcoalDialogEvent.kt */
        /* renamed from: jp.pxv.android.topLevel.presentation.TopLevelCharcoalDialogEvent$SelectRedirectPlayStore$a */
        /* loaded from: classes2.dex */
        public static final class C4328a implements Parcelable.Creator<SelectRedirectPlayStore> {
            @Override // android.os.Parcelable.Creator
            public SelectRedirectPlayStore createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                parcel.readInt();
                return SelectRedirectPlayStore.f19340a;
            }

            @Override // android.os.Parcelable.Creator
            public SelectRedirectPlayStore[] newArray(int i) {
                return new SelectRedirectPlayStore[i];
            }
        }

        public SelectRedirectPlayStore() {
            super(null);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeInt(1);
        }
    }

    public TopLevelCharcoalDialogEvent() {
    }

    /* renamed from: a */
    public final void m4554a(TopLevelActionCreator topLevelActionCreator) {
        MutabilityOwnership.m3745m(topLevelActionCreator, "topLevelActionCreator");
        if (MutabilityOwnership.m3749h(this, SelectRedirectPlayStore.f19340a)) {
            C1124a.m10167y(Preconditions.m9807K(topLevelActionCreator), null, 0, new C6652c(topLevelActionCreator, null), 3, null);
        } else if (MutabilityOwnership.m3749h(this, SelectRedirectFeedback.f19339a)) {
            C1124a.m10167y(Preconditions.m9807K(topLevelActionCreator), null, 0, new TopLevelActionCreator(topLevelActionCreator, null), 3, null);
        } else if (MutabilityOwnership.m3749h(this, SelectRateLater.f19338a)) {
            C1124a.m10167y(Preconditions.m9807K(topLevelActionCreator), null, 0, new C6653d(topLevelActionCreator, null), 3, null);
        }
    }

    public TopLevelCharcoalDialogEvent(DefaultConstructorMarker eVar) {
    }
}
